WP_Syntex\Polylang\REST\V1\Languages S

Total Complexity 46
Dependencies 8
Dependents 1
Total lines 767
Lines of code 481
Logical lines of code 106
Comment lines 225
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_item_schema()
A
29
3 189
prepare_item_for_database()
A
43 6 53
get_language()
S
49 6 33
register_routes()
S
41 1 70
create_item()
S
55 4 20
update_item()
S
61 3 13
prepare_item_for_response()
S
60 3 13
delete_item()
S
59 2 16
get_items_permissions_check()
S
63 3 10
get_items()
S
67 2 8
get_item()
S
69 2 7
create_item_permissions_check()
S
64 2 10
update_item_permissions_check()
S
64 2 10
delete_item_permissions_check()
S
64 2 10
get_endpoint_args_for_item_schema()
S
68 2 7
__construct()
S
71 1 6
check_update_permission()
S
80 1 3
get_item_permissions_check()
S
80 1 3